table {
    border-collapse: collapse;
    border-spacing: 0;
}
td, th {
    padding: 0;
}

.form__sheet {
    box-shadow: none;
    width: 100%;
    margin: 0 auto;
    max-width: none;
    padding: 0 16px;
    border: 1px solid #c8c8d3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.td__label {width: 0%; padding: 0 15px 0 10px; min-width: 100px; border-right: 1px solid #ddd; font-weight: bold;}
.td__label + td {width:auto; padding: 3px 3px 3px 5px;}
.form__label {font-weight: bold; margin-right: 0px; color:#000;}

button, input, optgroup, select, textarea {color: inherit; font: inherit; margin: 0;}
button {overflow: visible; height: 23px;}
button, select {text-transform: none;}
button, html input[type="button"], input[type="reset"], input[type="submit"]{-webkit-appearance: button; cursor: pointer;}
button[disabled], html input[disabled]{cursor: default;}
button::-moz-focus-inner, input::-moz-focus-inner{border: 0; padding: 0;}
input{line-height: normal;}
input[type="checkbox"], input[type="radio"]{box-sizing: border-box; padding: 0;}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button{height: auto;}
input[type="search"]{-webkit-appearance: textfield; box-sizing: content-box;} 
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration{-webkit-appearance: none;}
fieldset{border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em;}
legend{border: 0; padding: 0;}
textarea{overflow: auto;}

/*
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    border: none;
    height: 22px !important;
    line-height: 22px !important;
    border-bottom: 1px solid #d2d2d2;
    background-position: center bottom;
}*/

/*去掉input自动补全后的黄色样式*/
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
    -webkit-transition-delay: 99999s;
    -webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
    /* -webkit-box-shadow: 0 0 0px 1000px white inset; */
}

input[type="button"] {

}
input[type="text"], input[type="password"], input[type="number"], textarea {
    display: inline-block;
    height: 22px;
    line-height: 22px;
    border: none;
    border-radius: 0 !important;
    padding: 2px 3px;
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid #C8C8C8;
    color: #000;
}
input[type="text"]:focus, input[type="password"]:focus, input[type="number"]:focus, textarea:focus {
    height: 22px;
    line-height: 22px;
    border-bottom: 2px solid #0081CB;
    padding: 2px 3px 1px 3px;   /* 底部去掉1行空白，为了防止因为增加了输入框的底边而导致高度变化 */
    outline: none;
    box-shadow: none;
}
input[type="email"][readonly="readonly"], input[type="number"][readonly="readonly"],
input[type="password"][readonly="readonly"],input[type="text"][readonly="readonly"],
input[type="url"][readonly="readonly"],
input[type="email"][disabled="disabled"],input[type="number"][disabled="disabled"],
input[type="password"][disabled="disabled"],input[type=tel][disabled="disabled"],
input[type="text"][disabled="disabled"],input[type="url"][disabled="disabled"]{
    /*background: rgba(0,0,0,0.02);*/
    color: #999;
    border: none;
    border-bottom: 1px solid #C8C8C8;
    padding: 2px 3px;
    height: 22px;
    line-height: 22px;
}

input[type="text"][readonly="readonly"]:focus, input[type="password"][readonly="readonly"]:focus, 
input[type="number"][readonly="readonly"]:focus  {
    height: 22px;
    line-height: 22px;
    border-bottom: 2px solid #0081CB;
    padding: 2px 3px 1px 3px;   /* 底部去掉1行空白，为了防止因为增加了输入框的底边而导致高度变化 */
    outline: none;
    box-shadow: none;
}

textarea[readonly="readonly"], textarea[disabled="disabled"] {
    /*background: rgba(0,0,0,0.02);*/
    color: #999;
    border: none;
    border-bottom: 1px solid #C8C8C8;
    padding: 2px 3px;
}

textarea[readonly="readonly"]:focus {
    border-bottom: 2px solid #0081CB;
    padding: 2px 3px 1px 3px;   /* 底部去掉1行空白，为了防止因为增加了输入框的底边而导致高度变化 */
    outline: none;
    box-shadow: none;
}

input.with_select_flag {
    background-image:
        linear-gradient(45deg, transparent 50%, gray 50%),
        linear-gradient(135deg, gray 50%, transparent 50%);
    background-position:
        calc(100% - 8px) calc(100% - 6px),
        calc(100% - 3px) calc(100% - 6px);
    background-size:
        5px 5px,
        5px 5px;
    background-repeat: no-repeat;
}
input:focus.with_select_flag {
    background-position:
        calc(100% - 8px) calc(100% - 5px),
        calc(100% - 3px) calc(100% - 5px);
}
/*清除ie的默认选择框样式清除，隐藏下拉箭头*/  
select::-ms-expand {
    display: none;
} 
select {
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    display: inline-block;
    border: none;
    border-bottom: 1px solid #C8C8C8;
    color: #000;
    height: 23px;
    line-height: 23px;
    padding: 0px 8px 2px 3px;
    outline: none;

    background-image:
        linear-gradient(45deg, transparent 50%, gray 50%),
        linear-gradient(135deg, gray 50%, transparent 50%);
    background-position:
        calc(100% - 8px) calc(100% - 6px),
        calc(100% - 3px) calc(100% - 6px);
    background-size:
        5px 5px,
        5px 5px;
    background-repeat: no-repeat;
}

select:focus {
    border-bottom: 2px solid #0081CB;
    background-position:
        calc(100% - 8px) calc(100% - 5px),
        calc(100% - 3px) calc(100% - 5px);
    /*background-image:
        linear-gradient(45deg, gray 50%, transparent 50%),
        linear-gradient(135deg, transparent 50%, gray 50%);
    background-position:
        calc(100% - 3px) calc(12px),
        calc(100% - 8px) calc(12px);
    background-size:
        5px 5px,
        5px 5px;
    background-repeat: no-repeat;*/
}

/* 输入框 带下拉箭头
 -------------------------------------------------------------------------------------------------*/
.form_input_dropdown_wrapper {
    position: relative;
    display: inline-block;
}
.form_input_dropdown_wrapper > .dropdown_button {
    display: inline-block;
    position: absolute;
    top: 4px;
    right: 4px;
}
.form_input_dropdown_wrapper > .select-dropdown {
    position: relative;
    cursor: pointer;
    width: 100%;
    margin: 0;
    height: 22px;
    line-height: 22px;
}
.form_input_dropdown_wrapper > .spinner_up_button {
    display: inline-block;
    position: absolute;
    top: 3px;
    right: 0px;
    border: 1px solid #C8C8C8;
    height: 11px; width: 14px;
    cursor: pointer;
}

.form_input_dropdown_wrapper > .spinner_down_button {
    display: inline-block;
    position: absolute;
    top: 13px;
    right: 0px;
    border: 1px solid #C8C8C8;
    height: 11px; width: 14px;
    cursor: pointer;
}
.form_input_dropdown_wrapper > .spinner_up_button > i {
    position: absolute;
    top: -1px; left: 2px;
}
.form_input_dropdown_wrapper > .spinner_down_button > i {
    position: absolute;
    top: -1px; left: 2px;
}
.form_input_dropdown_wrapper > input[readonly="readonly"] {
    /*border: none;
    border-bottom: 1px solid #C8C8C8;*/
    color: #000;
}
.form_input_dropdown_wrapper > input:focus {
    height: 22px;
    line-height: 22px;
}
.form_input_dropdown_wrapper input:focus + span {
    top: 4px;
}
.form_input_dropdown_wrapper > input[readonly="readonly"]:focus + span {
    top: 4px;
}

/* 数据输入排版表格样式
 -----------------------------------------------------------------------------*/
.data__table_wrapper {
    position: relative;
    top: 0px;
    /*margin: 0px 20px;*/
    min-width: 100%;
    padding: 0px 20px;
    background: rgba(255,255,255,0);
    /*background: url(../images/form_sheet_bg.png);
    height: auto;*/
}
.data__table {
    position: relative;
    top: 0px;
    background: #fff;
    width: 100%;
    /*min-height: 100%;*/
    margin: 0;
    /*box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);*/
}
.data__table td {height:23px;}
.data__table:before {
    content: '';
    position: relative;
    display: block;
    height: 15px;
    margin: 0;
}
.data__table:after {
    content: '';
    position: relative;
    display: block;
    height: 15px;
}
/*
.data__table tbody {
    position: absolute;
    top: 10px;
}*/
/* 按钮样式
 -------------------------------------------------------------------------------------------------*/
.act__button {
    cursor: pointer;
    background-image: url(../images/textures/toolBar.png);
    color: #333;
    overflow: visible;
    border-color: #CCCCCC rgb(153, 153, 153) rgb(153, 153, 153) rgb(204, 204, 204);
    border-style: double;
    outline: 0;
    outline-offset: 0;
    text-transform: uppercase;
    letter-spacing: inherit;
    min-width: 66px;
    min-height: 22px;
    padding: 0px 8px;
    font-size: 12px;
    font-family: "宋体", "微软雅黑","Tahoma", "sans-serif";
}
.act__button:hover {
    background: #fff;
}
.act__button:focus {
    outline: #464646 dotted thin;
    outline-offset: -4px;
}
.act__button:active {
    background: #F4F4F4 none repeat scroll 0%;
    border-color: #999999 rgb(204, 204, 204) rgb(204, 204, 204) rgb(153, 153, 153);
}
.act__button:disabled {
    color: rgba(0,0,0,0.4);
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
    background: rgb(220,220,220);
    cursor: default;
}

/* 带图标按钮
--------------------------------------------------------------------------------------------------*/
.but_ok {
    display: block;
    height: 12px;
    width: 12px;
    text-indent: 18px;
    background: url(../images/icons/ui-icons_1.png);
    /*png图片左上角为原点,往右往下均为负值*/
    background-position: -120px -60px;/*对应小图标的坐标*/
    background-repeat: no-repeat;
}

/* 无线按钮样式
--------------------------------------------------------------------------------------------------*/
.radio_but_workload_wrapper {
    margin: 1em;
}

.radio_but_workload {
    display: none;
}

input[type="radio"] + label span {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: -1px 4px 0 0;
    vertical-align: middle;
    -moz-border-radius: 50%;
    border-radius: 50%;
    color: white;
    border: 3px solid rgba(70, 70, 70, 0.76);
}

input[type="radio"]:checked + label span {
    background-color: #0492c8;
    border: 3px solid #0492c8;
    box-shadow: 0px 0px 0px 3px #fff inset;
}

/* 用法
<div>
    <span class='radio_but_workload_wrapper'>
        <input class="radio_but_workload" type="radio" id="radio_3" name="xxx" value="xxx"/>
        <label for="radio_3"><span></span>xxx</label>
    </span>
</div>
*/

label.forcheck {
    position: relative;
    height: 16px;
    line-height: 16px;
    font-size: 16px;
    display: block;
}
label.forcheck span {
    display:block; position:absolute; left:0; 
    -webkit-transition-duration:0.3s; -moz-transition-duration:0.3s; transition-duration:0.3s;
}
input[type="radio"].workload {
    display: none;
}
label.forcheck .off-radio {
    position: absolute;
    top: -4px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: solid 2px;
    border-color: #5a5a5a;
}
label.forcheck .on-radio {
    position: absolute;
    top: -5px;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    color: white;
    margin: -1px 4px 0 0;
    background-color: #0f9d58;
    border: 1px solid #0f9d58;
    box-shadow: 0px 0px 0px 2px #fff inset;  
    -webkit-transform: scale(0);
    transform: scale(0);
    transition: -webkit-transform ease 0.28s;
    transition: transform ease 0.28s;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}
.circle{
    background:#FFF;
    left:-16px;
    top:-16px;
    height:80px;
    width:80px;
    z-index:-1;
    border-radius:50%; -moz-border-radius:50%; -webkit-border-radius:50%;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-animation   :growCircle 0.3s ease;
    -moz-animation      :growCircle 0.3s ease;
    animation           :growCircle 0.3s ease;
}
input[type="radio"]:checked ~ .on-radio {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
@-webkit-keyframes growCircle {
    0%, 100%   { -webkit-transform:scale(0); }
    70%        { background:#DDD; -webkit-transform:scale(1.25); }
}
@-moz-keyframes growCircle {
    0%, 100%   { -moz-transform:scale(0); }
    70%        { background:#DDD; -moz-transform:scale(1.25); }
}
@keyframes growCircle {
    0%, 100%   { transform:scale(0);}
    70%        { background:#DDD; transform:scale(1.25); }
}

/* 检查框样式
--------------------------------------------------------------------------------------------------*/
.checkbox {
    position: relative;
}
.checkbox:before {
    border: 3px solid #5a5a5a;; /*5a5a5a;*/
    content: '';
    cursor: pointer;
    display: block;
    height: 10px;
    position: absolute;
    transition: all .3s ease-in-out;
    width: 10px;
    z-index: 1;
}
.checkbox:checked:before {
    border-color: #0f9d58;
    border-top-style: none;
    border-right-style: none;
    height: 7px; width: 15px;
    transform: rotate(-45deg);
}
.checkbox:after {
    background: #fff;
    content: '';
    display: block;
    height: 12px;
    position: absolute;
    top: 0;
    width: 12px;
    z-index: 0;
}

.checkbox:focus:before {
    border: 3px solid #0492c8; /*5a5a5a;*/
    content: '';
    cursor: pointer;
    display: block;
    height: 10px;
    position: absolute;
    width: 10px;
    z-index: 1;
}
.checkbox:checked:focus:before {
    border-color: blue; /*#0f9d58;*/
    border-top-style: none;
    border-right-style: none;
    height: 7px; width: 15px;
    transform: rotate(-45deg);
}
.checkbox:focus:after {
    background: #fff;
    content: '';
    display: block;
    height: 12px;
    position: absolute;
    top: 0;
    width: 12px;
    z-index: 0;
}

div.checkbox_lines {
    position: absolute;
    display: block;
    height: 1px;
    width: 100px;
    bottom: 4px;
    border-bottom: 1px solid #C8C8C8;
}
.checkbox:focus + div {
    border-bottom: 2px solid #0081CB;
}
.radio_but_workload_wrapper:focus + div {
    border-bottom: 2px solid #0081CB;
}

div.wrap_content_with_lines {
    padding: 4px 0;
    width: 100%;
    border-bottom: 1px solid #C8C8C8;
    overflow-y: auto;
}

/* 自定义单选框、复选框样式(1)
-------------------------------------------------------------------------------*/
label.btn {
    font-weight: normal;
    display: inline-block;
    padding: 0;
    margin-bottom: 0;
    height: 16px;
    line-height: 16px;
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
}
label.btn input[type="radio"], label.btn input[type="checkbox"] {
    display: none;
    opacity: 0;
}
label.btn i {
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 18px;
}
label.btn span {
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
}

label.btn input[type="radio"]+i:before {
    content: "\f10c";
}
label.btn input[type="radio"]:checked+i:before {
    content: "\f192";
}

label.btn input[type="checkbox"]+i:before {
    content: "\f096";
}
label.btn input[type="checkbox"]:checked {
    color: #006600;
}
label.btn input[type="checkbox"]:checked+i:before {
    content: "\f046";
    /* background-color: #006600;
     color: #fff;*/
}
/* 用法
    <label class="btn">
    　   <input type="checkbox" name='email2'><i></i><span>Alert Email</span>
    </label>
*/

/* 验证错误样式
------------------------------------------------------------------------------*/
input.error, select.error {
    background-color: red;
    color: #fff;
}

label.normal {
    font-size: 1.1em;
    background-color: yellow;
    color: #000;
    border-radius: 3px;
    padding: 1px 3px;
}

label.selected {
    background-color: green;
    color: #fff;
}

label.disabled {
    background-color: #c0c0c0;
    color: #000;
}

/* 检查开关
------------------------------------------------------------------------------*/
.switcher {
    display: inline-block;
    border: none;
    text-align: center;
}

.switcher__input {
    display: none;
}

.switcher__input:checked + .switcher__label {
    color: #000;
}

.switcher__input:checked + .switcher__label:before {
    background-color: green; /*#38cae5;*/
}

.switcher__input:checked + .switcher__label:after {
    transform: translateX(23px);
}

.switcher__input:checked + .switcher__label:active:after {
    transform: translateX(12px);
}

.switcher__input:checked + .switcher__label:active:before {
    background-color: green; /*#b4effa;*/
}

.switcher__label {
    display: inline-block;
    vertical-align: top;
    padding-left: 50px;
    font-size: 14px;
    color: #ccc;
    cursor: pointer;
    position: relative;

    transition: color .1s linear;
}

.switcher__label:before {
    content: "";
    display: block;
    width: 45px;
    height: 22px;
    background-color: #e5e5e5;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: background-color .1s linear;
}

.switcher__label:after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 1px;
    z-index: 2;
    transition: transform .1s linear;
}

.switcher__label:active:after {
    transform: translateX(12px);
}

.switcher__label:active:before {
    background-color: green; /*#b4effa;*/
}

.switcher__text {
    line-height: 22px;
}